﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>下載 團購卷 Word檔</title>
<style type="text/css">
body{
 width:570px; margin:10px; padding:5px; background-color:#FFF; font-family:"細明體"; font-size:13px; color:#333333;}
.border1{
	border:1px solid #999; width:auto; padding:10px 20px
	}
.font1{
	font-family:Arial; font-size:30px}
.font2{
	font-family:Arial; font-size:14px}
.STYLE1 {font-size: 12px; color:#333333;}
.style2 {font-size: 12px}
</style>
</head>
</script>
<body>
<table width="95%" border="0" cellspacing="0" cellpadding="10" style="border:solid 2px #666;">
	<tr><td><font color="#999999">訂單編號:{$value['bid']}<br /></td></tr>
  	<tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  	<tr>
	    <td width="5%">&nbsp;</td>
	    <td width="92%"><div class="border1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  	<tr>
    <td width="216" height="40" align="left" valign="middle"><img src="{$cfg_site_url}/{TPL}images/logo_black.gif" width="130" height="81" /></td>
    <td width="258" colspan="2" align="left" valign="top">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td height="15" align="center" valign="middle"><font color="#597818"><span class="style2"><b>☞序號：</b></span></font></td>
	        <td height="15" align="left" valign="middle" ><font color="#000000"><span style="font-size:15px;"><b>{$value['sn']}</b></span></font></td>
	      </tr>
	      <tr>
	        <td height="15" align="center" valign="middle"><font color="#f44d04"><span class="style2"><b>☞密碼：</b></span></font></td>
	        <td height="15" align="left" valign="middle"><font color="#000000"><span style="font-size:15px;"><b>{strtoupper($value['password'])}</b></span></font></td>
	      </tr>
    	</table>
	</td>
   </tr>
  	<tr>
    	<td height="3" colspan="3" bgcolor="#999999"></td>
    </tr>
  	<tr>
    	<td colspan="3" class="font2"><span style="margin:5px 3px 10px; float:left">{$value['gtitle']}</span></td>
	</tr>
  <tr>
    <td rowspan="2" align="left" valign="top" width="50%">
    	<table width="98%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="26" align="left" valign="middle"><strong style="font-size:16px">&nbsp;貴賓:</strong></td>
      </tr>
      <tr>
        <td align="left" valign="middle">&nbsp;{$value['uname']}<br />&nbsp;</td>
      </tr>
      <tr>
        <td height="26" align="left" valign="middle"><strong style="font-size:16px">&nbsp;有效期限:</strong></td>
      </tr>
      <tr>
        <td align="left" valign="middle">&nbsp;{date("Y-m-d H:i",$value['endtime'])}<br />&nbsp;</td>
      </tr>
      <tr>
        <td height="26" align="left" valign="middle">&nbsp;<strong style="font-size:16px">商家地址:</strong></td>
      </tr>
      <tr>
        <td align="left" valign="middle">&nbsp;{$value['address']}<br />&nbsp;</td>
      </tr>
    </table></td>
    <td colspan="2" align="left" valign="top"  width="50%">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="26" align="left" valign="middle"><strong style="font-size:16px">使用提示:</strong></td>
      </tr>
      <tr>
        <td align="left" valign="middle" style="line-height:15px;">
		1.請保管好序號和密碼防止別人盜用。<br />
		2.到店家消費時請記得攜帶團購卷並出示此卷。<br />
		3.請提早3天訂位以確保商家有足夠的時間提供最好的服務給您。 <br />
 
</tr>
      <tr>
        <td height="26" align="left" valign="middle"><strong style="font-size:16px">電話:</strong></td>
      </tr>
      <tr>
        <td align="left" valign="middle">{$value['tel']}</td>
      </tr>
    </table></td>
  </tr>
</table>
</div></td>
    <td width="3%">&nbsp;</td>
  </tr>
  <tr valign="middle">
    <td height="268">&nbsp;</td>
    <td align="left">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="60%" height="219" align="center" valign="top"><table width="193" border="0" cellspacing="0" cellpadding="0" style="line-height:23px;">
          <tr>
            <td width="31" height="21" align="center" valign="top">1、</td>
            <td width="162" height="21" align="left">列印本卷（卷上有唯一消費碼）</td>
          </tr>
          <tr>
            <td height="21" align="center" valign="top">2、</td>
            <td height="21" align="left">請持卷在有效期限內到商家消費</td>
          </tr>
          <tr>
            <td height="21" align="center" valign="top">3、</td>
            <td height="21" align="left">交通提示:</td>
          </tr>
          <tr>
		  <td></td>
            <td style="margin-left:30px;">{$value['bus']}</td>
            </tr>
        </table>
		</td>
        <td width="40%" align="right" valign="top">
		{php list($xx,$yy,$zz)=explode(',',$value['map']);}
			  <img src="http://ditu.google.cn/maps/api/staticmap?zoom=14&amp;size=250x200&amp;maptype=roadmap&amp;mobile=true&amp;markers={$xx},{$yy}&amp;sensor=false&amp;language=zh_tw">		</td>
      </tr>
    </table></td>
    <td>&nbsp;</td>
  </tr>
  <!--<tr>
    <td>&nbsp;</td>
    <td height="26" align="center" valign="middle" bgcolor="#CCCCCC">{$cfg_site_bottomtxt} </td>
    <td>&nbsp;</td>
  </tr>-->
</table>
    </td>
  </tr>
  <tr>
    <td>
	<font color="#FF0033">※當使用此消費卷時，會依右上角的<b>序號、密碼</b>作審核。</font>
      <br />        
    http://www.buy917.com.tw【買，揪一起 感謝您的消費】</font></td>
  </tr>
</table>
</body>
</html>

